%1 mshta vbscript:CreateObject("Shell.Application").ShellExecute("cmd.exe","/c %~s0 ::","","runas",1)(window.close)&&exit
cd /d "%~dp0"
net stop "AllJS Data Service"
sc delete "AllJSDataService"
net stop "Redis"
sc delete "Redis"
del alljs.exe /f /s /q
del forever.exe /f /s /q
del webpack.exe /f /s /q
del root-url.exe /f /s /q
del fix-file.exe /f /s /q
del pkg.log /f /s /q
del public\res\*.js /f /s /q
del data\redis.log /f /s /q
del data\redis.rdb /f /s /q
del data\db.log* /f /s /q
del data\db\mongod.lock /f /s /q
del data\db\journal\* /f /s /q
del data\db\diagnostic.data\* /f /s /q
del data\up\* /f /s /q
del data\up_tmp\* /f /s /q
del mobile\platforms\android\build\android-profile\* /f /s /q
cd mobile
node ../node_modules/cordova/bin/cordova clean
pause